<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="<?php echo $this->baseUrl;?>/admincss/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="1" class="tableA">
<?php
	$mast_fields = array('uid', 'email', 'enfname', 'enlname', 'name', 'gender',
	'nation', 'birth', 'idcode', 'unit','cnunit', 'phone', 'fax', 'address', 'pcode', 'regip', 'regtime');
	
	$mast_fields_msg = array('用户编号','邮件地址', '英文姓', '英文名', '中文姓名/全名', '性别',
	'国家或地区', '出生日期', '证件号码', '工作单位（中文名称）', '工作单位（英文名称）', '联系电话', '传真', '地址', '邮编', '注册IP', '注册时间');
	?>
<?php
foreach ($mast_fields as $index => $key){
	$name = $mast_fields_msg[$index];
	$content = htmlspecialchars($this->content[$key]);
	if ($key == 'gender'){
		$content = $content == 1?"男" : "女";
	}
	if ($key == 'regip')
		$content = long2ip($content);

	echo <<<EOT
  <tr>
    <td width="20%" nowarp="no">{$name}</td>
    <td width="80%">{$content}</td>
  </tr>
EOT;
}
?>
<!--
  <tr>
    <td width="20%" nowarp="no">照片</td>
    <td width="80%"><a href="<?php echo $this->baseUrl . $this->content['headphoto']?>" target="_blank"><img width=54 height=54 src="<?php echo $this->baseUrl . $this->content['headphoto']?>" border=0/></a></td>

    </tr>
    <tr>    <td width="20%" nowarp="no">身份证/护照照片</td>
    <td width="80%"><a href="<?php echo $this->baseUrl . $this->content['idphoto']?>" target="_blank"><img width=54 height=54 src="<?php echo $this->baseUrl. $this->content['idphoto']?>" border=0/></a></td>
  </tr>
-->
</table>
</body>
</html>
